package org.jeecg.modules.app.utils;

public class Node {

    /**
     * 节点id
     */
    private Long id;

    /**
     * 节点名称
     */
    private String title;

    /**
     * 父节点id
     */
    private Long parent;

    public Node() {
    }

    Node(Long id, Long parent) {
        this.id = id;
        this.parent = parent;
    }

    Node(Long id, String title, Long parent) {
        this.id = id;
        this.title = title;
        this.parent = parent;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parent;
    }

    public void setParentId(Long parent) {
        this.parent = parent;
    }

    public String getNodeName() {
        return title;
    }

    public void setNodeName(String title) {
        this.title = title;
    }
}
